package cn.liccshop.core.service.shopUserAddress.service;

import cn.liccshop.core.entity.ShopUserAddress;
import cn.liccshop.sys.exception.MySystemException;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户收货地址表 服务类
 * </p>
 *
 * @author LiCC
 * @since 2019-05-06
 */
public interface IShopUserAddressService extends IService<ShopUserAddress> {

    /**
     * 通过是否存在ID判断是插入 还是更新
     * @param address
     * @return
     */
    ShopUserAddress saveAddressInfo(ShopUserAddress address) throws MySystemException;

}
